package com.fage.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.*;

/**
 * @author lin
 * @version 1.0
 * @date 2020-08-10 11:19
 * @Description TODO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Integer id;
    private String name;
    private int age;
    private Date birthday;
    private float money;

    private String[] phones;
    private Set<String> tels;
    private List<User> friends;
    private Map<String, Object> family;
    private Properties pros;

    public User(Integer id, String name, int age, Date birthday) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.birthday = birthday;
    }

    public User(Integer id, String name, int age) {
        this.id = id;
        this.name = name;
        this.age = age;
    }

    public User(Integer id, String name, int age, float money) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.money = money;
    }
}
